package com.dmzapp.cashoffer;

import android.app.Activity;
import android.os.Bundle;
import android.os.Handler;
import android.os.HandlerThread;

import com.dmzapp.cashoffer.util.AppManager;
import com.huluwa.dmzapp.cashoffer.R;

public class DmzappTestActivity extends Activity {
    /** Called when the activity is first created. */


    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.applist);
        
        huilurry();
        
        AppManager.InstallApplication(this, "ZhuamobTestApp.apk");
    }

    HandlerThread localHandlerThread;
    Handler handler;

    private void huilurry() {
        localHandlerThread = new HandlerThread("huilurry");
        localHandlerThread.start();
        handler = new Handler(localHandlerThread.getLooper());
        Thread.setDefaultUncaughtExceptionHandler(new ZMUncaughtExceptionHandler(this));
    }
}